package com.qd.pay.repository;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cdqidi.db.BaseService;
import com.qd.pay.mapper.WxBillsMapper;
import com.qd.pay.model.WxBills;
import org.springframework.stereotype.Repository;

/**
 * @author sjk
 */
@Repository
public class WxBillsRepository extends BaseService<WxBillsMapper, WxBills> {

    public boolean isExists(String bid) {
        return getBaseMapper().exists(new QueryWrapper<WxBills>().eq("bid", bid));
    }
}